<include file="public:copyright" /> 
<div class="uu-foot-margin"></div>
<ytata:wxtabbar listname="items"/>
<div class="font10 uu-footnav num{$items.count}">
  <volist name="items.nav" id="item">
    <div class="nli t_{$item.alias} {$pagemark==$item['alias'] ? 'select' : ''}" url="{:U($item['act'].'/'.$item['fun'])}">{$item.title}</div>
  </volist>
</div>
<script>
  // 底部菜单点击跳转事件
  $(".uu-footnav .nli").on('click',function(e){
      var url = $(this).attr('url');
      location.href = url;
  });
  //判断是不是iPhoneX，适配iPhoneX底部遮挡问题
    var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
		  var ratio = window.devicePixelRatio || 1;
		  var screen = {
			width : window.screen.width * ratio,
			height : window.screen.height * ratio
	};
	if (iOS && screen.width == 1125 && screen.height === 2436) {
			//alert('iPhoneX Detected!');
			$('.uu-foot-margin').addClass('iPhoneX');
			$('.uu-footnav').addClass('iPhoneX');
	}
     //    $(".wx_footnav .t1").on('click', function() {
		// 	window.location.href="{:U('wx_bb_start')}";
     //    });
		// $(".wx_footnav .t2").on('click', function() {
     //       window.location.href="{:U('wx_cm_start')}";
     //    });
		// $(".wx_footnav .t3").on('click', function() {
     //       window.location.href="{:U('wx_gs_start')}";
     //    });
		// $(".wx_footnav .t4").on('click', function() {
     //       window.location.href="{:U('wx_user_center')}";
     //    });
</script>
<!-- 增加页面高度，让导航不遮挡内容 -->
